import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'const.dart';
import 'routes/app_pages.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      theme: ThemeData(
          appBarTheme: AppBarTheme(
        elevation: 1,
        centerTitle: true,
        color: Colors.white,
        textTheme: TextTheme(
            headline6: TextStyle(
                fontSize: 20, color: black, fontWeight: FontWeight.bold)),
        iconTheme: IconThemeData(color: grey_text),
        actionsIconTheme: IconThemeData(color: Colors.blue),
      )),
      debugShowCheckedModeBanner: false,
      defaultTransition: Transition.fade,
      initialRoute: AppPages.INITIAL,
      getPages: AppPages.routes,
    );
  }
}
